const state = {
  schoolConfig: {},
  businessList: []
}

const mutations = {
  SET_SCHOOL_CONFIG(state, config) {
    state.schoolSonfig = config
  },
  SET_BUSINESS_LIST(state, businessList) {
    state.businessList = businessList
  }
}
const actions = {
  setSchoolConfig({ commit }, schoolConfig) {
    commit('SET_SCHOOL_CONFIG', schoolConfig)
  },
  setBusinessList({ commit }, businessList) {
    commit('SET_BUSINESS_LIST', businessList)
  }
}
export default {
  namespaced: true,
  state,
  mutations,
  actions
}
